package main;

public class Scientist {
private String Spec;
private String Name;
public Scientist(String spec,String name)
{
	Spec=new String(spec);
	Name=new String(name);
}

public Scientist(Scientist tocpy) {
	Spec=tocpy.getSpec();
	Name=tocpy.getName();
}

public String getSpec() {
	return new String(Spec);
}
public String getName() {
	return new String(Name);
}

@Override
public String toString() {
	StringBuilder ans = new StringBuilder(Name);
	ans.append(" specializing in ");
	ans.append(Spec);
	
	return ans.toString();
}

}
